package zzs.generalframework.console.core.parameter.commonparameter.censusregistertype.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.censusregistertype.CensusRegisterTypeInfo;
import zzs.generalframework.common.core.parameter.commonparameter.censusregistertype.CensusRegisterTypePO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.censusregistertype.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface ICensusRegisterTypeDao
{
	/**
	 * 创建户口类别信息
	 * 
	 * @param censusRegisterTypePO
	 * @return
	 */
	public boolean insert(CensusRegisterTypePO censusRegisterTypePO);

	/**
	 * 更新户口类别信息
	 *
	 * @param censusRegisterTypePO
	 * @return
	 */
	public boolean update(CensusRegisterTypePO censusRegisterTypePO);

	/**
	 * 查询户口类别信息
	 *
	 * @param censusRegisterTypeInfo
	 * @return
	 */
	public List<CensusRegisterTypePO> select(CensusRegisterTypeInfo censusRegisterTypeInfo);

	/**
	 * 删除户口类别信息
	 *
	 * @param censusRegisterTypePO
	 * @return
	 */
	public boolean delete(CensusRegisterTypePO censusRegisterTypePO);

	/**
	 * 统计户口类别信息
	 * 
	 * @param censusRegisterTypePO
	 * @return
	 */
	public Long count(CensusRegisterTypePO censusRegisterTypePO);

}
